﻿<Page x:Class="Woodlands.StaffWindow"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="550" d:DesignWidth="1360"
	Title="StaffWindow">
    <Grid Name="mainContent">
        <TabControl Height="550"  x:Name="subMenu" VerticalAlignment="Top" FontSize="14" Background="#FFF5F5CB" BorderBrush="Teal">
            <TabItem Header="Create" x:Name="createStaff" Background="#FFF5F5CB">
                <Grid Background="#FFF5F5CB" Name="createGrid">
                    <Label Content="Create a Staff Member" Height="53" HorizontalAlignment="Left" Margin="8,8,0,0" x:Name="staffCreation" VerticalAlignment="Top" FontWeight="Bold" FontSize="30" Width="337" />
                    <GroupBox Header="Basic Information" HorizontalAlignment="Left" Height="215" Margin="8,58,0,0" VerticalAlignment="Top" Width="406" BorderBrush="Teal" FontWeight="Bold">
                    <Grid>
                        <Label Content="Staff ID:" Height="30" HorizontalAlignment="left" Margin="8,9,0,0" x:Name="creatStaffIDLabel" VerticalAlignment="Top" FontWeight="Bold" Foreground="Teal" Width="85" />
                        <TextBox IsEnabled="False" Height="23" Margin="140,9,0,0" x:Name="staffIDTxt" VerticalAlignment="Top" HorizontalAlignment="Left" Width="175" />
                        <Label Content="First Name:" Height="28" HorizontalAlignment="Left" Margin="8,43,0,0" x:Name="createStafFirstNameLabel" VerticalAlignment="Top" FontSize="14" FontWeight="Normal"/>
                        <TextBox KeyUp="name_KeyUp"  Height="23" HorizontalAlignment="Left" Margin="140,43,0,0" x:Name="createStaffFirstNameTxt" VerticalAlignment="Top" Width="175" />
                        <Label Content="Middle Name(s):" Height="30" HorizontalAlignment="left" Margin="8,75,0,0" x:Name="createStaffMiddleNameLabel" VerticalAlignment="Top" FontWeight="Normal" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="140,75,0,0" x:Name="createStaffMiddleNameTxt" VerticalAlignment="Top" Width="175" />
                        <Label Content="Surname:" Height="30" HorizontalAlignment="left" Margin="8,107,0,0" x:Name="createStaffSurnameLabel" VerticalAlignment="Top" FontWeight="Normal" />
                        <TextBox KeyUp="name_KeyUp" Height="23" HorizontalAlignment="Left" Margin="140,107,0,0" x:Name="createStaffSurnameTxt" VerticalAlignment="Top" Width="175" />
                            <Label Content="Date of Birth:" Height="30" HorizontalAlignment="left" Margin="8,135,0,0" x:Name="createStaffSurnameLabel_Copy" VerticalAlignment="Top" FontWeight="Normal" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="140,135,0,0" x:Name="createStaffDOBTxt" VerticalAlignment="Top" Width="175" />
                            <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="77,39,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                            <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="67,104,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                            <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="88,129,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                        </Grid>
                    </GroupBox>
                    <GroupBox Header="Address" Height="215" Margin="451,58,0,0" x:Name="createStaffAddress" VerticalAlignment="Top" FontWeight="Bold" HorizontalAlignment="Left" Width="342" BorderBrush="Teal">
                        <Grid>
                            <Label Content="Line 1" HorizontalAlignment="left" Margin="8,9,0,0" x:Name="createStaffLine1Label" FontWeight="Normal" Height="30" VerticalAlignment="Top" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="82,16,0,0" x:Name="createStaffLine1Txt" VerticalAlignment="Top" Width="210" Grid.ColumnSpan="4" />
                            <Label Content="Line 2" Height="30" HorizontalAlignment="left" Margin="8,47,0,0" x:Name="createStaffLine2Label" VerticalAlignment="Top" FontWeight="Normal" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="82,54,0,0" x:Name="createStaffLine2Txt" VerticalAlignment="Top" Width="210" />
                            <Label Content="City" Height="30" HorizontalAlignment="left" Margin="8,81,0,0" x:Name="createStaffCityLabel" VerticalAlignment="Top" FontWeight="Normal" />
                            <TextBox Grid.ColumnSpan="4" Height="23" HorizontalAlignment="Left" Margin="82,88,0,0" x:Name="createStaffCityTxt" VerticalAlignment="Top" Width="210" />
                            <Label Content="Postcode" Height="30" HorizontalAlignment="left" Margin="8,115,0,0" x:Name="createStaffPostcodeLabel" VerticalAlignment="Top" FontWeight="Normal" />
                            <TextBox Grid.ColumnSpan="4" Height="23" HorizontalAlignment="Left" Margin="82,122,0,0" x:Name="createStaffPostcodeTxt" VerticalAlignment="Top" Width="210" />
                            <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="44,4,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                            <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="35,77,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                            <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="65,109,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                        </Grid>
                    </GroupBox>
                    <GroupBox FontWeight="Bold" Header="Contact" Height="175" HorizontalAlignment="Left" Margin="820,58,0,0" x:Name="createStaffContactGrpBox" VerticalAlignment="Top" Width="406" d:LayoutOverrides="HorizontalAlignment, VerticalAlignment" BorderBrush="Teal">
                        <Grid>
                            <Label Content="Home Number:" FontWeight="Normal" Height="30" HorizontalAlignment="left" Margin="20,18,0,0" x:Name="createStaffHomeNoLabel" VerticalAlignment="Top" />
                            <TextBox Height="23" Margin="175,22,0,0" x:Name="createStaffHomeNoTxt" VerticalAlignment="Top" d:LayoutOverrides="GridBox" HorizontalAlignment="Left" Width="200" />
                            <Label Content="Mobile Number:" FontWeight="Normal" Height="30" HorizontalAlignment="left" Margin="20,47,0,0" x:Name="createStaffMobNoLabel" VerticalAlignment="Top" />
                            <TextBox Height="23" Margin="175,51,0,0" x:Name="createStaffMobNoTxt" VerticalAlignment="Top" d:LayoutOverrides="GridBox" HorizontalAlignment="Left" Width="200" />
                            <Label Content="Personal Email Address:" Height="30" HorizontalAlignment="left" Margin="20,76,0,0" x:Name="createStaffPersonalEmailLabel" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment" FontWeight="Normal" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="175,80,0,0" x:Name="createStaffPersonalEmailTxt" VerticalAlignment="Top" Width="200" d:LayoutOverrides="VerticalAlignment" />
                            <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="115,13,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                            <Label Content="WUC Email Address:" Height="30" HorizontalAlignment="left" Margin="20,106,0,0" x:Name="createStaffWUCEmailLabel" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment" FontWeight="Normal" />
                            <TextBox FontSize="10" IsEnabled="False" Height="23" HorizontalAlignment="Left" Margin="175,108,0,0" x:Name="createStaffWUCEmailTxt" VerticalAlignment="Top" Width="200" d:LayoutOverrides="VerticalAlignment" />
                        </Grid>
                    </GroupBox>
                    <Button Content="Cancel" Height="35" Margin="925,238,0,0" x:Name="createStaffCancelButton" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment" HorizontalAlignment="Left" Width="100" Click="createStaffCancelButton_Click" />
                    <Button Content="Save" Height="35" x:Name="createStaffSaveButton" VerticalAlignment="Top" Margin="820,238,0,0" d:LayoutOverrides="VerticalAlignment" HorizontalAlignment="Left" Width="100" Background="Teal" Foreground="White" Click="createStaffSaveButton_Click" />
                    <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="9,278,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                    <Label Content="Notates a required field" HorizontalAlignment="Left" Margin="19,278,0,0" VerticalAlignment="Top"/>
                </Grid>
            </TabItem>
            <TabItem Header="Amend" x:Name="amendStaff" Background="#FFF5F5CB">
                <Grid>
                    <Label Content="Amend a Staff Member" Height="53" HorizontalAlignment="Left" Margin="8,8,0,0" x:Name="staffAmend" VerticalAlignment="Top" FontWeight="Bold" FontSize="30" />
                    <GroupBox Header="Basic Information" HorizontalAlignment="Left" Height="203" Margin="8,58,0,0" VerticalAlignment="Top" Width="392" BorderBrush="Teal" FontWeight="Bold">
                        <Grid>
                            <Label Content="Staff ID:" Height="30" HorizontalAlignment="left" Margin="8,9,0,0" x:Name="staffIDLabel" VerticalAlignment="Top" FontWeight="Bold" Foreground="Teal" Width="85" />
                            <TextBox Height="23" Margin="139,17,0,0" x:Name="AmendStaffIDTxt" VerticalAlignment="Top" HorizontalAlignment="Left" Width="208" KeyUp="staffIDTxtAmend_KeyUp" />
                            <Label Content="First Name:" Height="28" HorizontalAlignment="Left" Margin="8,43,0,0" x:Name="amendStaffFirstNameLabel" VerticalAlignment="Top" FontSize="14" FontWeight="Normal"/>
                            <TextBox IsEnabled="False" Height="23" HorizontalAlignment="Left" Margin="139,48,0,0" x:Name="amendStaffFirstNameTxt" VerticalAlignment="Top" Width="208" />
                            <Label Content="Middle Name(s):" Height="30" HorizontalAlignment="left" Margin="8,75,0,0" x:Name="amendStaffMiddleNameLabel" VerticalAlignment="Top" FontWeight="Normal" />
                            <TextBox IsEnabled="False" Height="23" HorizontalAlignment="Left" Margin="140,80,0,0" x:Name="amendStaffMiddleNameTxt" VerticalAlignment="Top" Width="207" />
                            <Label Content="Surname:" Height="30" HorizontalAlignment="left" Margin="8,107,0,0" x:Name="amendStaffSurnameLabel" VerticalAlignment="Top" FontWeight="Normal" />
                            <TextBox Height="23" IsEnabled="False" HorizontalAlignment="Left" Margin="140,114,0,0" x:Name="amendStaffSurnameTxt" VerticalAlignment="Top" Width="207" />
                            <Label Content="D.O.B:"  HorizontalAlignment="Left" Margin="8,141,0,0" VerticalAlignment="Top" x:Name="createStudentDOBLabel" FontWeight="Normal"/>
                            <TextBox HorizontalAlignment="Left" IsEnabled="False" GotKeyboardFocus="dobTxt_GotKeyboardFocus"  LostKeyboardFocus="dobTxt_LostKeyboardFocus"  Margin="140,145,0,0" x:Name="amendStaffDOBTxt" TextWrapping="Wrap" Text="YYYY/MM/DD" VerticalAlignment="Top" RenderTransformOrigin="0.427,0.508" Width="207" FontWeight="Normal"/>
                            <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="82,39,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                            <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="66,102,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                        </Grid>
                    </GroupBox>
                    <GroupBox FontWeight="Bold" Header="Contact" Height="203" HorizontalAlignment="Left" Margin="836,58,0,0" x:Name="amendStaffContactGrpBox" VerticalAlignment="Top" Width="425" d:LayoutOverrides="HorizontalAlignment, VerticalAlignment" BorderBrush="Teal">
                        <Grid>
                            <Label Content="Home Number:" FontWeight="Normal" Height="30" HorizontalAlignment="left" Margin="9,8,0,0" x:Name="amendStaffHomeNoLabel" VerticalAlignment="Top" />
                            <TextBox IsEnabled="False" Height="23" Margin="192,16,0,0" x:Name="amendStaffHomeNoTxt" VerticalAlignment="Top" d:LayoutOverrides="GridBox" HorizontalAlignment="Left" Width="208" />
                            <Label Content="Mobile Number:" FontWeight="Normal" Height="30" HorizontalAlignment="left" Margin="8,47,0,0" x:Name="amendStaffMobNoLabel" VerticalAlignment="Top" />
                            <TextBox IsEnabled="False" Height="23" Margin="192,54,0,0" x:Name="amendStaffMobNo" VerticalAlignment="Top" d:LayoutOverrides="GridBox" HorizontalAlignment="Left" Width="208" />
                            <Label Content="WUC Email Address:" Height="30" HorizontalAlignment="left" Margin="8,82,0,0" x:Name="amendStaffEmailLabel" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment" FontWeight="Normal" />
                            <TextBox IsEnabled="False" Height="23" HorizontalAlignment="Left" Margin="192,88,0,0" x:Name="amendStaffWUCEmailTxt" VerticalAlignment="Top" Width="208" d:LayoutOverrides="VerticalAlignment" />
                            <Label Content="Personal Email Address:" Height="30" HorizontalAlignment="left" Margin="8,117,0,0" x:Name="amendStaffPersonalEmailLabel" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment" FontWeight="Normal" />
                            <TextBox IsEnabled="False" Height="23" HorizontalAlignment="Left" Margin="192,122,0,0" x:Name="amendStaffPersonalEmailTxt" VerticalAlignment="Top" Width="208" d:LayoutOverrides="VerticalAlignment" />
                            <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="103,4,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                        </Grid>
                    </GroupBox>
                    <GroupBox Header="Staff Record Status" Height="151" Margin="448,266,0,0" x:Name="amendStaffStatusGrpBox" VerticalAlignment="Top" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" Width="423">
                        <Grid Background="Teal" UseLayoutRounding="True">
                            <ComboBox IsEnabled="False" Height="25" HorizontalAlignment="Left" Margin="134,10,0,0" x:Name="amendStaffStatusCombo" VerticalAlignment="Top" Width="170">
                                <ComboBoxItem Content="Live" Name="amendStaffLiveStatus"/>
                                <ComboBoxItem Content="Dormant" Name="amendStaffDormantStatus"/>
                            </ComboBox>
                            <Label Content="Reason&#xd;&#xa;(if Dormant)" HorizontalAlignment="left" Margin="21,51,0,15" x:Name="amendStaffStatusReasonLabel" FontWeight="Normal" Width="91" FontSize="14" Foreground="White" />
                            <TextBox IsEnabled="False" Height="43" HorizontalAlignment="Left" Margin="117,53,0,0" x:Name="amendStaffStatusReasonTxt" VerticalAlignment="Top" Width="193" />
                        </Grid>
                    </GroupBox>
                    <GroupBox Header="Address" Height="200" Margin="450,58,0,0" x:Name="amendStaffAddress" VerticalAlignment="Top" FontWeight="Bold" HorizontalAlignment="Left" Width="342" BorderBrush="Teal">
                        <Grid>
                            <Label Content="Line 1:" HorizontalAlignment="left" Margin="8,9,0,0" x:Name="amendStaffLine1Label" FontWeight="Normal" Height="33" VerticalAlignment="Top" />
                            <TextBox IsEnabled="False" Height="23" HorizontalAlignment="Left" Margin="82,16,0,0" x:Name="amendStaffLine1Txt" VerticalAlignment="Top" Width="208" d:LayoutOverrides="GridBox" />
                            <Label Content="Line 2:" Height="30" HorizontalAlignment="left" Margin="8,47,0,0" x:Name="amendStaffLine2Label" VerticalAlignment="Top" FontWeight="Normal" />
                            <TextBox IsEnabled="False" Height="23" HorizontalAlignment="Left" Margin="82,54,0,0" x:Name="amendStaffLine2Txt" VerticalAlignment="Top" Width="208" />
                            <Label Content="City:" Height="30" HorizontalAlignment="left" Margin="8,82,0,0" x:Name="amendStaffCityLabel" VerticalAlignment="Top" FontWeight="Normal" />
                            <TextBox IsEnabled="False" Height="23" HorizontalAlignment="Left" Margin="82,88,0,0" x:Name="amendStaffCityTxt" VerticalAlignment="Top" Width="208" />
                            <Label Content="Postcode:" Height="30" HorizontalAlignment="left" Margin="8,117,0,0" x:Name="amendStaffPostcodeLabel" VerticalAlignment="Top" FontWeight="Normal" />
                            <TextBox IsEnabled="False" Height="23" HorizontalAlignment="Left" Margin="82,122,0,0" x:Name="amendStaffPostcodeTxt" VerticalAlignment="Top" Width="208" />
                            <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="47,5,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                            <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="38,76,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                            <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="67,110,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                        </Grid>
                    </GroupBox>
                    <Button Content="Cancel" Height="35" Margin="899,279,0,0" Click="amendStaffCancel_Click_1" x:Name="amendStaffCancel" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment" HorizontalAlignment="Left" Width="100" />
                    <Button Content="Save" Height="35" x:Name="amendStaffSave" Click="amendStaffSave_Click_1" VerticalAlignment="Top" Margin="1017,279,0,0" d:LayoutOverrides="VerticalAlignment" HorizontalAlignment="Left" Width="100" Background="Teal" Foreground="White" />
                    <Label Content="*" Foreground="Red" HorizontalAlignment="Left" Margin="10,266,0,0" VerticalAlignment="Top" RenderTransformOrigin="2.3,0.586"/>
                    <Label Content="Notates a required field" HorizontalAlignment="Left" Margin="20,266,0,0" VerticalAlignment="Top"/>
                </Grid>
            </TabItem>
            <TabItem Header="Archive" x:Name="archiveStaffTab" Background="#FFF5F5CB">
                <Grid>
                    <Label Content="Archive a Staff Member" Height="46" HorizontalAlignment="Left" Margin="8,8,0,0" x:Name="archiveStaffLabel" VerticalAlignment="Top" FontWeight="Bold" FontSize="30" />
                    <GroupBox Header="Details" HorizontalAlignment="Left" Margin="8,58,0,0" VerticalAlignment="Top" Height="206" Width="387" Name="archiveStaffDetailsGrpBox" BorderBrush="Teal" FontWeight="Bold">
                        <Grid>
                            <Label Content="Staff ID:" Height="30" HorizontalAlignment="left" x:Name="archiveStaffIDLabel" VerticalAlignment="Top" FontWeight="Bold" Foreground="Teal" Width="86" Margin="8,9,0,0" />
                            <TextBox Height="22" x:Name="archiveStaffIDTxt" VerticalAlignment="Top" KeyUp="staffIDTxtArchive_KeyUp"  HorizontalAlignment="Left" Width="208" Margin="138,15,0,0" />
                            <Label Content="First Name:" Height="28" HorizontalAlignment="Left" Margin="8,43,0,0" x:Name="archiveStaffFirstNameLabel" VerticalAlignment="Top" FontSize="14" FontWeight="Normal"/>
                            <TextBox Height="23" IsEnabled="False" HorizontalAlignment="Left" Margin="139,48,0,0" x:Name="archiveStaffFirstNameTxt" VerticalAlignment="Top" Width="207" />
                            <Label Content="Middle Name(s):" Height="28" HorizontalAlignment="Left" x:Name="archiveStaffMiddleNameLabel" VerticalAlignment="Top" FontSize="14" Margin="8,75,0,0" FontWeight="Normal"/>
                            <TextBox Height="23" IsEnabled="False" HorizontalAlignment="Left"  x:Name="archiveStaffMiddleNameTxt" VerticalAlignment="Top" Width="207" Margin="140,80,0,0" />
                            <Label Content="Surname:" Height="30" HorizontalAlignment="left" x:Name="archiveStaffSurnameLabel" VerticalAlignment="Top" Margin="8,107,0,0" FontWeight="Normal" />
                            <TextBox Height="23" IsEnabled="False" HorizontalAlignment="Left" x:Name="archiveStaffSurnameTxt" VerticalAlignment="Top" Width="207" Margin="140,114,0,0" />
                            <Label Content="D.O.B:" HorizontalAlignment="Left" Margin="8,141,0,0" VerticalAlignment="Top" Name="archiveStaffDOBLabel" FontWeight="Normal"/>
                            <TextBox x:Name="archiveStaffDOBTxt" HorizontalAlignment="Left" IsEnabled="False" Margin="140,145,0,0" TextWrapping="Wrap" VerticalAlignment="Top" RenderTransformOrigin="0.427,0.508" Width="206"/>
                        </Grid>
                    </GroupBox>
                    <GroupBox Header="Status" HorizontalAlignment="Left" Margin="450,58,0,0" VerticalAlignment="Top" Height="125" Width="370" Name="archiveStaffStatus" BorderBrush="Teal" FontWeight="Bold">
                        <Grid>
                            <Label Content="Current Status:" Height="30" HorizontalAlignment="left" x:Name="archiveStaffCurrentStatusLabel" VerticalAlignment="Top" FontWeight="Bold" Foreground="Teal" Width="120" Margin="8,9,0,0" />
                            <TextBox HorizontalAlignment="Left" Margin="132,14,0,0" x:Name="archiveStaffCurrentStatusTxt" TextWrapping="Wrap" IsEnabled="False" VerticalAlignment="Top" Width="207"/>
                            <Button Height="35" Width="100" Content="Archive" Click="BtnArchive_Click"  x:Name="archiveStaffBtn" HorizontalAlignment="Left" Margin="240,50,0,0" VerticalAlignment="Top" Background="Teal" Foreground="White" FontWeight="Normal"/>
                            <Button Height="35" Width="100" Content="Cancel" Click="CancelBtnArchive_Click"  x:Name="archiveStaffCancelBtn" HorizontalAlignment="Left" Margin="130,50,0,0" VerticalAlignment="Top" FontWeight="Normal" />
                        </Grid>
                    </GroupBox>
                </Grid>
            </TabItem>
            
            <TabItem Header="Assign" x:Name="assignStaff" Background="#FFF5F5CB">
                <Grid />
            </TabItem>
            <TabItem Header="Search" x:Name="displayStaff" Background="#FFF5F5CB">
                <Grid>
                    <Label Content="Search Staff" HorizontalAlignment="Left" Margin="8,8,0,0" VerticalAlignment="Top" FontWeight="Bold" FontSize="30" />
                    <GroupBox Header="Details" FontWeight="Bold" HorizontalAlignment="Left" Margin="8,58,0,0" VerticalAlignment="Top" Height="76" Width="449" Name="displayStaffDetailsGrpBox" BorderBrush="Teal">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="33*"/>
                                <ColumnDefinition Width="404*"/>
                            </Grid.ColumnDefinitions>
                            <ComboBox FontWeight="Bold" x:Name="displayStaffSearchType" HorizontalAlignment="Left" Height="25" SelectedIndex="0" Margin="57,11,0,0" VerticalAlignment="Top" Width="120" Grid.Column="1">
                                <ComboBoxItem Content="Staff ID" />
                                <ComboBoxItem Content="First Name" />
                                <ComboBoxItem Content="Last Name" />
                                <ComboBoxItem Content="Date of Birth" />
                            </ComboBox>
                            <TextBox FontWeight="Bold" Height="25" x:Name="displayStaffSearch" KeyUp="staffSearch_KeyUp" VerticalAlignment="Top" HorizontalAlignment="Left" Width="208" Margin="189,11,0,0" Grid.Column="1" />
                            <Label Content="Search By" Height="28" HorizontalAlignment="left" x:Name="displayStaffSearchByLabel" VerticalAlignment="Top" FontWeight="Bold" Foreground="Teal" Width="86" Margin="8,9,0,0" Grid.ColumnSpan="2" />
                        </Grid>
                    </GroupBox>
                    <ListBox SelectionChanged="resultsBox_SelectionChanged" Height="416" Margin="0,0,10,0"  VerticalAlignment="Top" x:Name="displayStaffResultsBox" HorizontalAlignment="Right" Width="739" />
                    <Label Visibility="Hidden" Content="Loading Results, Please Wait..." x:Name="searchLoading" HorizontalAlignment="Left" Margin="263,138,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.419,0.517"/>
                </Grid>
            </TabItem>            
        </TabControl>
    </Grid>
</Page>